Skip to content

When kafka consumer metric is NaN, report previous value instead of invalid value#6741

Merged
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:KafkaConsumerMetrics
Apr 8, 2026
Merged

When kafka consumer metric is NaN, report previous value instead of invalid value#6741
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:KafkaConsumerMetrics

Conversation

@graytaylor0

@graytaylor0 graytaylor0 commented Apr 7, 2026

Copy link
Copy Markdown
Member

Description

This change keeps the kafka consumer metrics from reporting invalid vallues like NaN, which can cause missing metric datapoints.

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…nvalid value

Signed-off-by: Taylor Gray <tylgry@amazon.com>
@graytaylor0 graytaylor0 merged commit d950ece into opensearch-project:main Apr 8, 2026
70 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants